package PTA_05_18;

import java.util.Scanner;

public class Main5 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str1 = sc.next();
        char[] strs = str1.toCharArray();
        for (int i = 0; i < strs.length; i++) {
            if(strs[i] >= 48 && strs[i] <= 57)
            {
                strs[i] = '$';
            }
        }
        for (int i = 0; i < strs.length; i++) {
            System.out.print(strs[i]);
        }
    }
}
